package service;

import java.util.Date;

import java.util.List;

import model.EstpInfo;
import model.User;

public interface EstpInfoManager {
	int addEstpInfoManager(String estpName, int estpSex, Date estpBirthday,int education,
			int degree,int stuProject,int professional,
			int job,int continent,String decIdno,String city,
			String company,int comPerson,String estpPhone,String estpCoPhone,
			String inFax, String email) throws Exception;
	EstpInfo getEstpById(int id) throws Exception;
	int addOrUpdateEstpInfoManager(String estpName, int estpSex, Date estpBirthday,int education,
			int degree,int stuProject,int professional,
			int job,int continent,String decIdno,String city,
			String company,int comPerson,String estpPhone,String estpCoPhone,
			String inFax, String email) throws Exception;
	List<EstpInfo> getEstpByUser(User user) throws Exception;
}
